//
//  RouteDetailModel.m
//  Cycling
//
//  Created by 迟国强 on 2023/4/9.
//

#import "RouteDetailModel.h"

@implementation RouteDetailModel
//+ (NSDictionary *)modelCustomPropertyMapper {
//    return @{@"routeId":@"id"};
//}
+ (NSDictionary *)mj_objectClassInArray {
    return @{@"comments":[RouteCommentModel class],@"json":[RouteDetailJsonModel class]};
}
- (void)reloadJsonModels
{
//    if(self.json.count > 0 && [self.json.firstObject isKindOfClass:[RouteDetailJsonModel class]]) {
//        return;
//    }
//    NSMutableArray *jsons = [NSMutableArray array];
//    for(NSDictionary *json in self.json) {
//        [jsons addObject:[RouteDetailJsonModel yy_modelWithJSON:json]];
//    }
//    self.json = jsons;
}

@end

@implementation Highly

@end

@implementation RouteCommentModel

//+ (NSDictionary *)modelCustomPropertyMapper {
//    return @{@"commentId":@"id"};
//}

+ (NSDictionary *)mj_objectClassInArray {
    return @{@"rec":[RouteCommentModel class]};
}
@end

@implementation RouteDetailJsonModel

@end
